/**
 * 弹窗的表头
 * @param
 * field:表字段名, fieldtitle:表字段值, width:筛选框宽度, type:筛选框类型

 * type: 'text'||'time'||'number'||'radio'||''
 *
 *  text	| 单个input筛选
 *  time	| 时间区间筛选
 *  number	| 数值区间筛选
 *  radio	| 单选框
 *  ''		| 没有筛选条件的
 *
 * @example
    [{
		field: 'resume_name',
		fieldtitle: '候选者姓名',
		width: '150px',
		type: 'text'
	}]
 */

export default `{{~it:v:i}}
{{? v.type === "checkbox"}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c" style="width:50px;">
	<input data-feidao-id="checkall" data-feidao-actions="click:eu-023" type="checkbox" class="cursor-p" style="margin:13px 0;" />
</span>
{{?? v.type === "text"}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c cursor-p pos-r" style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14" style="width:20px;"></i>
	<div style="width:160px;color:black;padding:10px;z-index:100;" class="bg-f4 dropdown pos-r border-1 radius-4 text-l" >
		<div class="dropdown_triangle" style="left:30px;"></div>
		<ul class="border-b-1">
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="1">
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
		<div class="l-ht28">内容搜索：</div>
		<input data-feidao-id="input_{{=v.field}}" type="text" placeholder="请输入关键字" class="border-1 radius-4 ht30 l-ht30" style="width:160px;padding:0 5px;">
		<div class="l-ht30"><input data-feidao-id="check_{{=v.field}}" data-feidao-actions="click:eu-020" type="checkbox" name="null" id="null-1" class="vertical-a-m cursor-p"><span for="null-1">空(未填写)</span></div>
		<input data-feidao-actions="click:eu-018" data-feidao-id="{{=v.field}}" type="button" value="确定" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;" /><input data-feidao-actions="click:eu-019" data-feidao-id="{{=v.field}}" type="button" value="取消" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;margin-left:20px;" />
	</div>
</span>
{{?? v.type === "date"}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c cursor-p pos-r" style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14" style="width:20px;"></i>
	<div class="dropdown pos-r bg-f4 p10 w200 border-1 radius-4 text-l zindex5" style="width:160px;color:black;padding:10px;">
		<div class="dropdown_triangle" style="left:70px;"></div>
		<ul class="border-b-1">
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="1" >
				<i class="iconfont icon-asc  vertical-a-t color-6 font20"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="-1">
				<i class="iconfont icon-desc  vertical-a-t color-6 font20"></i>降序Z-A
			</li>
		</ul>
		<div class=" l-ht30">
		<div class="l-ht28">开始时间：</div>

			<input data-feidao-id="begin_{{=v.field}}" type="date" class="border-1 radius-4 vertical-a-t" style="display:block;width:125px;padding:5px 0 5px 5px;">
		</div>
		<div class=" l-ht30">
			<div class="l-ht28">结束时间：</div>
			<input data-feidao-id="end_{{=v.field}}" type="date" class="border-1 radius-4 vertical-a-t" style="display:block;width:125px;padding:5px 0 5px 5px;">
		</div>
		<div class="l-ht30"><input data-feidao-id="check_{{=v.field}}" data-feidao-actions="click:eu-020" type="checkbox" name="null" id="null-6" class="vertical-a-m cursor-p">空(未填写)</div>
		<input data-feidao-actions="click:eu-025" data-feidao-id="{{=v.field}}" type="button" value="确定" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font12 border-1" style="padding:0 30px;" /><input data-feidao-actions="click:th-003" data-feidao-id="{{=v.field}}" type="button" value="取消" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font12 border-1" style="padding:0 30px;margin-left:10px;" />
	</div>
</span>
{{?? v.type === "radio"}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c cursor-p pos-r" style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14" style="width:20px;"></i>
	<div style="width:160px;color:black;padding:10px;z-index:100;" class="bg-f4 dropdown pos-r border-1 radius-4 text-l">
		<div class="dropdown_triangle" style="left:70px;"></div>
		<ul class="border-b-1">
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="1" >
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
		<div class="ht30 l-ht30">{{=v.fieldtitle}} :</div>
		<div data-feidao-id="{{=v.field}}" class="ht30 l-ht30">
			<input type="radio" name="{{=v.field}}" value="true">
			<span for="yes">是</span>
			<input type="radio" name="{{=v.field}}" value="false">
			<span for="no">否</span>
		</div>
		<div class="l-ht30"><input data-feidao-id="check_{{=v.field}}" data-feidao-actions="click:eu-020" type="checkbox" name="null" id="null-6" class="vertical-a-m cursor-p">空(未填写)</div>
		<input data-feidao-actions="click:eu-021" data-feidao-id="{{=v.field}}" type="button" value="确定" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;" /><input data-feidao-actions="click:eu-019" data-feidao-id="{{=v.field}}" type="button" value="取消" class="bg-gra-f4-d color-3 ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;margin-left:20px;" />
	</div>
</span>
{{?? v.type === "none"}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c" style="width:{{=v.width}};">{{=v.fieldtitle}}</span>
{{??}}
<span class="display-ib vertical-a-t ht40 l-ht40 border-r-1 text-c cursor-p pos-r" style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14" style="width:20px;"></i>
	<div style="width:160px;color:black;padding:10px;z-index:100;" class="bg-f4 dropdown pos-r border-1 radius-4 text-l">
		<div class="dropdown_triangle" style="left:70px;"></div>
		<ul>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="1" >
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}" data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
	</div>
</span>
{{?}}
{{~}}`;
